package com.ljkj.blockpay.presenter.inter;

import com.kongzue.baseokhttp.util.JsonMap;
import com.ljkj.blockpay.basedata.BasePresenter;
import com.ljkj.blockpay.basedata.BaseView;
import com.ljkj.blockpay.model.RechargeModel;

import java.util.List;

/**
 * Created by yp on 2022/3/15
 */
public interface ExchangeInter {

    interface ExchangeInterView extends BaseView {
        void showNetAccuracy(List<RechargeModel> modelList);
        void SearchCurrencySuccess(JsonMap jsonMap);
        void preConfirmSuccess(JsonMap jsonMapData);
        void getOrderDetails(JsonMap jsonMap);
        void getOrderDetails2(JsonMap jsonMap);
    }
    interface ExchangeInterPresenter extends BasePresenter {
        void SearchCurrencyBalance(String currencyType, Integer orderType);
        void getNetAccuracy();
        void createOrder(Integer orderType, String preOrderId,String tradePwd);
        void preConfirm(Number originAmount, Integer orderType,String originCurrency, String targetCurrency);
    }
}
